﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using BF.Model;
using BF.Infrastructure;

namespace BF.IBLL.BaseSystem
{
    public interface Iview_sys_UserInfo_BLL
    {
        /// <summary>
        /// 获取数据列表(分页)
        /// </summary>
        /// <param name="where">条件</param>
        /// <param name="orderBy">排序字段</param>
        /// <param name="pageModel">分页实体</param>
        /// <param name="isAscending">是否升序排列</param>
        /// <returns></returns>
        List<View_SysUserInfo> GetList(Expression<Func<View_SysUserInfo, bool>> where, Expression<Func<View_SysUserInfo, object>> orderBy, PageModel pageModel, bool isAscending);

        /// <summary>
        /// 获取数据条数
        /// </summary>
        /// <param name="where"></param>
        /// <returns></returns>
        int GetRowCount(Expression<Func<View_SysUserInfo, bool>> where);

        List<View_SysUserInfo> GetList(Expression<Func<View_SysUserInfo, bool>> where);
    }
}
